<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-inline" data-toggle="cxselect" data-selects="first,second">
        <select class="first form-control" name="first" data-url="ajax/category?type=page&amp;pid=5"></select>
        <select class="second form-control" name="second" data-url="ajax/category" data-query-name="pid"></select>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Game_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-game_id" data-rule="required" data-source="game/lists/index" class="form-control selectpage"
                   name="row[game_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Subarea_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-subarea_id" data-rule="required" data-source="game/subarea/index"
                   class="form-control selectpage" name="row[subarea_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Modes_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-modes_id" data-rule="required" data-source="game/modes/index" class="form-control selectpage"
                   name="row[modes_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Levels_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-levels_id" data-rule="required" data-source="game/levels/index" data-field="money"
                   class="form-control selectpage"
                   name="row[levels_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">
                {foreach name="statusList" item="vo"}
                <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio"
                                                       value="{$key}" {in name="key" value="255" }checked{/in} /> {$vo}</label>
                {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
